﻿namespace FFF.Test.Controllers
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Security.Claims;
    using System.Threading.Tasks;
    using System.Web;
    using Abp.Application.Services;
    using Abp.Dependency;
    using Abp.Extensions;
    using Abp.Runtime.Caching;
    using Abp.UI;
    using Abp.Web.Models;
    using Microsoft.AspNetCore.Authorization;
    using Microsoft.AspNetCore.Http;
    using Microsoft.AspNetCore.Mvc;
    using Microsoft.AspNetCore.Mvc.Controllers;
    using Microsoft.AspNetCore.Mvc.Filters;
    using FFF.Test.Util.Consts;

    /// <summary>
    /// 过滤的filter
    /// </summary>
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true)]
    public sealed class WxAuthorAttribute : Attribute
    {
        /// <summary>
        /// 登录的地址
        /// </summary>
        public string LoginPath { get; set; } = "/Wx/ValidateUserInfo";
    }
}